<?php
namespace app\index\model;
use think\Model;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/22
 * Time: 16:04
 */
class Allocation extends Model{
	protected $table = 'boc_allocation';
    protected $connection = 'JXC';
    public function getcount($where){
        $data=Allocation::where($where)->count();
        return $data;
    }
}